package com.slz3.business.module.socialManagement.socSign.service;

import com.slz3.business.module.socialManagement.socSign.domain.SocSign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface SocSignService {

    SocSign save(SocSign socSign);

    Page<SocSign> page(MultiValueMap<String,String> queryParams);

    SocSign modify(SocSign socSign);

    Optional<SocSign> single(UUID uuid);

    List<SocSign> findAllByUuids(Iterable<UUID> uuids);

    List<SocSign> delete(List<SocSign> socSignList);
}
